class CreateEntries < ActiveRecord::Migration
  def change
    create_table :entries do |t|
      t.references  :record,    polymorphic: true,  index: true
      t.references  :transact,  polymorphic: true,  index: true
      
      t.integer     :balance
      t.integer     :amount

      t.timestamps  null: false
    end
  end
end
